<?php 
/**
 * Crystal Newton
 * 
 * @author Matteo Vigoni <mattevigo@gmail.com>
 * @version 2.0.1
 * @copyright by Crystal Newton
 * 
 * Default template for Crystal Newton Official Website
 */
defined("_ENTRY_") or die("Restricted Access!");

define( "TEMPLATE", "crynewmusic" );
define( "LOCAL_ROOT", WEB_ROOT . "/templates/crynewmusic/" );
define( "LOCAL_VIEWS", TEMPLATES_DIR.DS.TEMPLATE.DS."views" );

import('core.site.Page');
import('core.site.Model');
import('core.blog.Blogset');

import("includes.debug");

$model = $this->getModel();

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo SITE_NAME; ?></title>

<link type="text/css" rel="stylesheet" href="<?php echo LOCAL_ROOT; ?>css/style-default.css" />
<link type="text/css" rel="stylesheet" href="<?php echo LOCAL_ROOT; ?>css/style-single.css" />
<link type="text/css" rel="stylesheet" href="<?php echo LOCAL_ROOT; ?>css/style-sidebar.css" />

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

<script type="text/javascript" src="<?php echo LOCAL_ROOT; ?>js/jquery.spasticNav.js"></script>       

</head>
<body>
	
	<div id="header-reference" class=""></div>
	<div id="thumbs-container"><!-- Social references -->
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/tumblr.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/twitter_32.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/facebook_32.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/vimeo_32.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/youtube.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/flickr_32.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/lastfm_32.png"/>
		<img class="thumb" src="<?php echo LOCAL_ROOT; ?>images/myspace_32.png"/>   
	</div>
	
	<div id="player-container">
		<object height="18" width="100%">
			<param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fcrystal-newton%2Fsets%2Fsuperlove&amp;auto_play=false&amp;player_type=tiny&amp;font=Arial&amp;color=669933"></param> 
			<param name="allowscriptaccess" value="always"></param> 
			<param name="wmode" value="transparent"></param>
			
			<embed id="player" wmode="transparent" allowscriptaccess="always" height="18" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fcrystal-newton%2Fsets%2Fsuperlove&amp;auto_play=false&amp;player_type=tiny&amp;font=Arial&amp;color=669933" type="application/x-shockwave-flash" width="100%"></embed> 
		</object>
	</div>
	
	<div id="header-background" class=""></div>
	
	<!-- Container -->
	<div id="container">
		<div id="logo-container" class="">
			<div id="logo"></div>
			
			<div id="nav-container">
				<ul id="nav">
					<li id="selected"><a href="#">Home</a></li>
					<li><a href="#">Info</a></li>
					<li><a href="#">Releases</a></li>
					<li><a href="#">Shows</a></li>
					<li><a href="#">Gallery</a></li>
					<li><a href="#">Blog</a></li>
				</ul>
			</div>

		</div>
		<div id="main-container">
			<div id="main">
				<?php load_view( $model->getView(), &$model );?>
			</div>
			
			<div id="sidebar">
				<div class="widget">
					<div class="frame"><img class="album" src="contents/images/CrystalEP_front_small.png" /></div>
					<h2 class="widget">"Animals"</h2>
					<div class="description">
						<p class="description">release on 4th april 2010 under Creative Commons license.</p>					
					</div>
				</div>
				<div class="widget"></div>
				<div id="poweredby"></div>
			</div>
			<div class="cleared"></div>
		</div>
		
		<div id="footer-background">
			<div id="logo-bottom"></div>
		</div>
	</div>
	
	<script type="text/javascript">  
		$('#nav').spasticNav();  
	</script>  

</body>
</html>